{erl_opts, [
	debug_info,
	{i, "./_build/default/plugins/gpb/include"}
	]}.

{deps, []}.

{plugins, [
  {rebar3_gpb_plugin, "1.10.0"} % Good practice to specify which version to use
]}.

{gpb_opts, [
  {i, "proto"},                % path/to/proto_dir
  {module_name_suffix, "_pb"}, % Naming convention, unless you have a good reason just go with it.
  %{o, "path/to/out_dir"},     % both .erl and .hrl are generated here, we will define the directories below instead.
  {o_erl, "src"},              % Where the generated source is placed
  {o_hrl, "include"},          % Where the generated include files are placed
  {strings_as_binaries, true},
  type_specs]}.

{provider_hooks, [
    {pre, [
        {compile, {protobuf, compile}},
        {clean, {protobuf, clean}}
    ]}
]}.
